

#ifndef Runnable_H
#define Runnable_H

#include <string>
#include <algorithm>
#include "boost\thread.hpp"



class Runnable {
   
    
public : 
    Runnable();
    virtual void run() = 0;
	void enter();
	void leave();
    ~Runnable();
private:
	boost::mutex mutex;
		
};

void run(void * runnable);


#endif
/*********************************************************************
	File Path	: DefaultComponent\DefaultConfig\Runnable.h
*********************************************************************/
